<template>
  <div class="about">
    <div>{{HelloAbout}}</div>

  </div>
</template>


<script>



export default {
  name: 'about',
  components: {  },
  data() {
    return {
      HelloAbout: 'HelloAbout',

    };
  },
  watch: {

  },



  methods: {
    createCode() {
      let that = this;
      // this.$axios.get('http://192.168.1.132:8080/api/test/getAll').then(response => {
      this.$axios.get('/api/test/getAll').then(response => {
        console.log(response)
        that.HelloAbout = JSON.stringify(response)
      })
      .catch(errer => {
        alert('请求失败')
      })
    },
  },
  mounted() {

  },
  created() {
    this.createCode();
  }
}
</script>
